<!--
<html>
<head>
<link rel="stylesheet" href="stylesheets/default.css" type="text/css"/>

</head>
<body>
<br>
<div align='center'> 

<form name="_FRM" method="POST" action="index.php?part=1221&owner_id=<?php echo $owner_id; ?>&permit_type=Occupational&stat=<?php echo $status; ?>&create=No&addfee=Add">-->


<?php
if ($owner_id<>'') {
                $getd = mysql_query("select merchandise_sold, peddlers_business_name from
                                        $permittable where owner_id=$owner_id and active=1")
                        or die ("argh".mysql_error());
                $getn = mysql_fetch_row($getd);
                $merchandise = $getn[0];
                $peddler_bus = $getn[1];
}
?>
                                                                                                                             

<link rel="stylesheet" href="stylesheets/default.css" type="text/css"/>

<form method=post  action ='index.php?part=1221&addfee=Add&owner_id=<?php echo $owner_id; ?>&permit_type=<?php echo $tag; ?>&stat=<?php echo $status; ?>&create=No'>

	<input type='hidden' name='mode'>
	<table width='750' border=0 cellpadding=1 cellspacing=1>
	  <!--// start of the owner information //-->
	  <tr> 
	    <td align="center"> </td>
	  </tr>
	  <tr> 
	  	<td align="left" valign="top" class='normalred' colspan=4>

	</td>
	  </tr>
	  <tr> 
	    <td align="left" valign="top" class='normalbold' colspan=4></td>
	  </tr>
	  <tr>
            <td align="right" valign="top" class='normal'> <font color="#FF0000"> </font>
             Application Date : </td>
            <td align="left" valign="top" class='normal'>&nbsp;
           <input type=hidden name=permid value='<?php echo $permid; ?>'> 
	    <?php echo $apply; ?>
            </td>
            <td align="right" valign="top" class='normal'> <font color="#FF0000"></font>
              &nbsp </td>
            <td align="left" valign="top" class='normal'>&nbsp;
            </td>
           </tr>



	  <tr> 
	    <td align="right" valign="top" class='normal' > <font color="#FF0000"> 
	      </font>Peddler's Business Name : </td>
	    <td align="left" valign="top" class='normal' >&nbsp; 
		<?php echo stripslashes($peddler_bus); ?>
		<input type="hidden" name="peddler_bus" value="<? echo $peddler_bus;?>">
	    </td>
	    <td align="right" valign="top" class='normal'> <font color="#FF0000"> </font>&nbsp </td>
	    <td align="left" valign="top" class='normal'>&nbsp; 
	  </tr>
	  <tr> 
	    <td align="right" valign="top" class='normal'> <font color="#FF0000"> </font> 
	     Merchandise Sold : </td>
	    <td align="left" valign="top" class='normal'>&nbsp; 
		<?php echo stripslashes($merchandise); ?>
		<input type="hidden" name="merchandise" value="<? echo $merchandise;?>">
	    </td>
	    <td align="right" valign="top" class='normal'> <font color="#FF0000"></font> 
	      &nbsp </td>
	    <td align="left" valign="top" class='normal'>&nbsp;
	    </td>
	   </tr>
</table>	
